package com.xiangge.zuoye2;

public class Demo5 {
    public static void main(String[] args) {
        int[] arr = {72, 89, 65, 87, 91, 82, 71, 93, 76, 68};

        int sum = 0;
        for (int i = 0; i < arr.length; i++) {
            sum = sum+arr[i];
        }
        System.out.println("学生的平均成绩为" + sum/arr.length);
    }
}
